GetMouseRegion
Document Shell
Mac OSThe
GetMouseRegion
method returns the current mouse region used in dispatching mouse-enter, mouse-within, and mouse-leave events.
ODRgnHandle GetMouseRegion ();
- return value
- The current mouse region, expressed in QuickDraw global coordinates.
DISCUSSION
The document shell and container applications call this method to get the mouse region that the dispatcher uses to report mouse-enter, mouse-within, or mouse-leave events.If your part does not want to use the default region (1-by-1 pixel), it should call the dispatcher's
SetMouseRegion
method from its routine for handling mouse-enter, mouse-within, or mouse-leave events.SEE ALSO
TheODRgnHandle
type (page 884).
TheODDispatcher::SetMouseRegion
method (page 124).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help